home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2007 March
/
PCWorld_2007-03_cd.bin
/
komunikace
/
acehtml
/
acehtmlfreeware.exe
/
scriptdef
/
Ticker Tape.sd
< prev
next >
Wrap
INI File
|
2006-09-13
|
2KB
|
92 lines
[SUBJECT]
Description=Ticker Tape Script
ImageIndex=-1
Folder=Menus
[BODY_TEXT]
;
;<script language="JavaScript1.2">
;
;/*
;Ticker Tape script-
;⌐ Dynamic Drive (www.dynamicdrive.com)
;For full source code, installation instructions,
;100's more DHTML scripts, and Terms Of
;Use, visit dynamicdrive.com
;*/
;//configure tickercontents[] to set the messges you wish be displayed (HTML codes accepted)
;var tickercontents=new Array();
;tickercontents[0]='`item0`';
;
#insert point
;//configure the below 2 variables to set the width/background color of the ticker
;var tickerwidth='65%';
;var tickerbgcolor='lightblue';
;
;//configure the below variable to determine the delay between ticking of messages (in miliseconds
;var tickdelay=`tick_delay`;
;
;////Do not edit pass this line////////////////
;
;var currentmessage=0;
;
;function changetickercontent(){
;if (document.layers){
;document.tickernsmain.document.tickernssub.document.write(tickercontents[currentmessage]);
;document.tickernsmain.document.tickernssub.document.close();
;}
;else if (document.all)
;tickerie.innerHTML=tickercontents[currentmessage];
;
;if (currentmessage==tickercontents.length-1) currentmessage=0;
;else currentmessage++;
;setTimeout("changetickercontent()",tickdelay);
;}
;
;function start_ticking(){
;if (document.layers)
;document.tickernsmain.visibility="show";
;changetickercontent();
;}
;
;if (document.all)
;document.write('<div id="tickerie" style="width:'+tickerwidth+'; background-color:'+tickerbgcolor+'"></div>');
;window.onload=start_ticking;
;</script>
;
;
;<ilayer id="tickernsmain" width=&{tickerwidth}; bgColor=&{tickerbgcolor}; visibility="hide"><layer id="tickernssub" width=&{tickerwidth}; left="0" top="0"></layer></ilayer>
;
[MACRO_ITEM]
;tickercontents[`item_index`]='`item`'
;
[`item_index`]
Visible=0
[`item`]
Kind=S
Value=Item Text
[`item0`]
Kind=S
Value=See what\'s New at Dynamic Drive. <a href="http://dynamicdrive.com/new.htm">[Read more]</a>
[`tick_delay`]
Kind=N
Value=3000